import Vue from 'vue'
import Router from 'vue-router'
// import HelloWorld from '@/components/HelloWorld'
import  Login from '../views/Login.vue'
import  Home from '../views/Home.vue'
import User from '../views/user/User.vue'
Vue.use(Router)

export default new Router({
  routes: [
    
    {
      path: '/Login',
      name: 'Login',
      component: Login
    },
    {
      path: '/',
      name: 'Home',
      component: Home,
      children:[
        {
          name:'User',
          path: 'user',
          component: User
        
        }
      ]
    }
  ]
})
